package cn.chochy.my.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 *
 * @author MLeo
 */

@Controller
public class LoginController {
    @RequestMapping(value = "/login")
    public ModelAndView loadIndex(ModelAndView view){
        view.setViewName("login");
        return view;
    }
    
    
}
